package com.cn.chaomeng.dao;

import com.cn.chaomeng.model.Foodtype;
import com.cn.chaomeng.model.example.FoodtypeExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface FoodtypeMapper {
    long countByExample(FoodtypeExample example);

    int deleteByExample(FoodtypeExample example);

    int deleteByPrimaryKey(Integer typeid);

    int insert(Foodtype record);

    int insertSelective(Foodtype record);

    List<Foodtype> selectByExampleWithRowbounds(FoodtypeExample example, RowBounds rowBounds);

    List<Foodtype> selectByExample(FoodtypeExample example);

    Foodtype selectByPrimaryKey(Integer typeid);

    int updateByExampleSelective(@Param("record") Foodtype record, @Param("example") FoodtypeExample example);

    int updateByExample(@Param("record") Foodtype record, @Param("example") FoodtypeExample example);

    int updateByPrimaryKeySelective(Foodtype record);

    int updateByPrimaryKey(Foodtype record);

    List<Foodtype> selectList(Map<String,Object> map);
}